/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const usersRouter = {
  path: '/car',
  component: Layout,
  redirect: '/car/car-list',
  name: 'Car',
  meta: {
    title: '车辆管理',
    icon: 'car'
  },
  children: [
    {
      path: '/car-list',
      name: 'CarList',
      component: () => import('@/views/car/car-list'),
      meta: { title: '车辆信息管理' }
    }, {
      path: '/car-level',
      name: 'CarLevel',
      component: () => import('@/views/car/car-level'),
      meta: { title: '车辆等级管理' }
    }, {
      path: '/car-type',
      name: 'CarType',
      component: () => import('@/views/car/car-type'),
      meta: { title: '车辆类型管理' }
    }
  ]
}

export default usersRouter
